package com.lrz.service;

import com.lrz.pojo.Comment;
import com.lrz.pojo.dto.CommentDTO;

import java.util.List;

public interface CommentService {

    List<Comment> findAll();

    void add(Comment comment);

    List<CommentDTO> findByArticleId(String articleId, Long userId);

    void addThumbup(String id);

    void decThumbup(String id);
}
